package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.domain.StrategyCustomImg;
import cn.wolfcode.trip.base.query.LabelQueryObject;
import cn.wolfcode.trip.base.query.StrategyCommentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCommentService {
    List<StrategyComment> listByComment();
    List<StrategyComment> getComment(Long strategyId);
    void save(StrategyComment strategyComment, String[] labels, String[] images);
    PageInfo selectForList(StrategyCommentQueryObject qo);
    StrategyComment getCommentMessage(Long id);
    List<StrategyComment> selectByLabels(Long strategyId);
    PageInfo getLabelsByStrategyId(LabelQueryObject qo);

    /*按照userId查询攻略评论*/
    PageInfo selectForUser(StrategyCommentQueryObject qo);
    PageInfo selectForHeadlines(StrategyCommentQueryObject qo);
}
